import { request } from "@/utils/service"
// 后台通知公告管理
export function getNoticeDepartmentList(data: any) {
  return request({
    url: "/bg/notice/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateNoticeDepartment(data: any) {
  return request({
    url: "/bg/notice/saveOrUpdate",
    method: "post",
    data
  })
}

//根据id删除
export function deleteNoticeDepartmentById(data: any) {
    return request({
      url: "/bg/notice/deleteById",
      method: "post",
      data
    })
}

// 详情
export function getNoticeDepartmentById(data: any) {
    return request({
      url: "/bg/notice/getById",
      method: "post",
      data
    })
}
